package com.example.myapp.event;

import java.util.EventObject;

public class GameEndEvent extends EventObject{

    private String result;

    public GameEndEvent(Object source) {
        super(source);
    }

    public GameEndEvent(Object source, String msg) {
        this(source);
        this.setResult(msg);
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }
}
